package cn.zyq.demo.system.config.weixin;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信开放平台配置
 */
@Component
@ConfigurationProperties(prefix = "wx.app")
public class WxAppProperties {

    public static String appId;

    public static String appSecret;

    public void setAppId(String appId) {
        WxAppProperties.appId = appId;
    }

    public void setAppSecret(String appSecret) {
        WxAppProperties.appSecret = appSecret;
    }
}
